﻿using System.Reflection;
using LINQtoFxCop.Core;

namespace LINQtoFxCop.Flaws
{
  internal abstract class FlawsIntrospectionRule : CoreIntrospectionRule
  {
    private const string _RESOURCE_NAME = "LINQtoFxCop.Flaws.FlawsMetaData";

    protected FlawsIntrospectionRule(string name, string resourceName, Assembly assembly)
      : base(name, resourceName, assembly)
    { }
    protected FlawsIntrospectionRule(string name)
      : base(name, _RESOURCE_NAME, typeof(FlawsIntrospectionRule).Assembly)
    { }
  }
}